package com.sc.nft.admin.request;

import com.sc.nft.enums.EcologyHatchDaoIncomeDimensionalityEnum;
import com.sc.nft.enums.EcologyIncomeTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
public class UpdateDaoEecologyIncomeRequest {

    @ApiModelProperty(value = "id")
    @NotNull(message = "id不能为空")
    private Long id;


    @ApiModelProperty(value = "DAO收益名称")
    @NotBlank(message = "DAO收益名称不能为空")
    private String dividendIncomeName;

    @ApiModelProperty(value = "藏品id")
    @NotNull(message = "藏品id不能为空")
    private Long collectionId;

    @ApiModelProperty(value = "持有的藏品id")
    private Long holdCollectionId;

    @ApiModelProperty(value = "DAO分红类型 DAO_CULTIVATION_AWARD:DAO培育奖 DAO_CONTRIBUTION_AWARD:DAO贡献奖 DAO_POSITION_BONUS_AWARD:持仓奖")
    private EcologyIncomeTypeEnum daoIncomeType;

    @ApiModelProperty(value = "统计维度 SEVEN_DAYS:7天 THREE_HUNDRED_AND_SIXTY_FIVE:365天")
    private EcologyHatchDaoIncomeDimensionalityEnum dimensionality;

    @ApiModelProperty(value = "收益比例")
    @NotNull(message = "收益比例不能为空")
    private BigDecimal incomeScale;

    @ApiModelProperty(value = "直推人数")
//    @NotNull(message = "直推人数不能为空")
    private Integer directThrustUserCount;

    /**
     * 熔炼藏品
     */
    @ApiModelProperty(value = "熔炼藏品id")
    @NotNull(message = "熔炼藏品id不能为空")
    private Long hatchCollectionId;

    @ApiModelProperty(value = "daoId")
    @NotNull(message = "daoId不能为空")
    private Long daoId;

}
